﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="EditChannel.aspx.cs" Inherits="Maticsoft.Web.Admin.Info.EditChannel" %>
<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111"
        style="border-collapse: collapse">
        <tr>
            <td width="100%" height="20" valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="30">
                            <img height="14" src="../images/book1.gif" width="20">&nbsp;网站栏目管理&nbsp;&gt;&gt;&nbsp;添加/修改
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td width="100%" height="1" background="../images/sp_bg.gif">
            </td>
        </tr>
    </table>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="10">
            </td>
        </tr>
    </table>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="95" align="center" bgcolor="#FFFFFF">
                <table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="text-align: left;
                    border: 1px solid #cfcfcf; background: #ffffff;">
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            栏目名称：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtTitle" runat="server" Width="200px"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator1" runat="server" ErrorMessage="分类名不能为空" ControlToValidate="txtTitle"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            所属栏目：
                        </td>
                        <td class='bline'>
                            <asp:DropDownList ID="ddlChannel" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            栏目类型：
                        </td>
                        <td class='bline'>
                            <asp:DropDownList ID="ddlChannelType" runat="server">
                            <asp:ListItem Value="" Text="请选择"></asp:ListItem>
                            <asp:ListItem Value="1" Text="内容介绍"></asp:ListItem>
                            <asp:ListItem Value="2" Text="信息列表"></asp:ListItem>
                            </asp:DropDownList>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator2" runat="server" ErrorMessage="栏目类型不能为空" ControlToValidate="ddlChannelType"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            栏目排序：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtOrderNo" runat="server" Width="50px" Text="0"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator3" runat="server" ErrorMessage="排序不能为空" ControlToValidate="txtOrderNo" Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                                    ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtOrderNo" ValidationExpression="^[0-9]*$" ErrorMessage="请添加数字" Display="Dynamic"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            详情：
                        </td>
                        <td class='bline'>
                            <FCKeditorV2:FCKeditor ID="FCKeditor1" ToolbarSet="Basic" runat="server">
                            </FCKeditorV2:FCKeditor>
                        </td>
                    </tr>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F9FCEF"
                    style="border: 1px solid #cfcfcf; border-top: none;">
                    <tr>
                        <td width="1%" height="35">
                        </td>
                        <td width="99%" valign="bottom">
                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../images/button_ok.gif"
                                class="np" OnClick="ImageButton1_Click" />
                            &nbsp;&nbsp;<a href="Channel.aspx"><img src="../images/button_back.gif" width="60"
                                height="22" border="0" /></a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
